home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
003
/
books.arc
/
BINSTALL.PRG
< prev
next >
Wrap
Text File
|
1985-04-17
|
2KB
|
83 lines
* binstall.prg
* Start the chart of accounts
set talk off
* get general information
erase
use geninfo
dele all
pack
append blank
Text
Start the Bookkeeping System
This program allows you to set up general
information and a chart of accounts for the
bookkeeping system. You need to use this
program only once. The edit option under the
BOOKS main menu allows you to make changes later.
endt
@ 11,1 say "Enter the name of the Company or User"
@ 11,41 get Company pict '!XXXXXXXXXXXXXXXXXXXXXXXX'
@ 13,1 SAY 'Enter starting check number for writing checks'
@ 13,50 get last:check pict '9999'
read
erase
text
Next, you need to set up the chart of accounts.
Account numbers use the format XXX.XX (e.g. 100.00)
Account numbers in the range of 100.00 to 299.99
are for INCOME only. Account numbers in the range
300.00 to 999.99 are for EXPENSES ONLY.
PRESS ANY KEY TO CONTINUE
endt
wait
* Prepare the COA file for setting up
* the chart of accounts
erase
use coa index coa
dele all
pack
* Allow the user to type in a
* chart of accounts
stor T to adding
do while adding
appe blan
erase
@ 1, 0 say 'Type in Account Number, Title,'
@ 1,32 say 'and Current Balance.'
@ 2, 0 say 'Ebter Ctrl-W to quit'
@ 4, 0 say 'Account Number'
@ 4,16 get acct
@ 5, 0 say 'Title'
@ 5,16 get title
@ 6, 0 say 'Month to Date'
@ 6,16 get amount
@ 7, 0 say 'Quarter to Date'
@ 7,16 get qtd
@ 8, 0 say 'Year to date'
@ 8,16 get ytd
read
* Check for 0 as account
if acct = 0
stor F to adding
endi
endd
* done adding
erase
text
Returning to dot prompt. To use the booking
system, type DO BOOKS when dor appears.
endt
* make sure no accounts with account
* number = to 0 stay on chart.
dele all for acct = 0
pack
* that's all folks
release all
use
* end of binstall program.